<table id="replenishment_table" ref="Replenishment" class="table" width="100%" border="0" cellspacing="1" cellpadding="0">
		<thead class="state-header">
		  <tr>
		  
		  	  <td  width="40" tdid="0" align="center">
			 	选择
			  </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"id")||fields=="*"||(!fields && true)}}' tdid="1" ref="id"   title="编号">编号
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"replenish")||fields=="*"||(!fields && true)}}' tdid="2" ref="replenish"   title="补货信息">补货信息
			 </td>
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"remarks")||fields=="*"||(!fields && true)}}' tdid="3" ref="remarks"   title="备注">备注
			 </td>
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"attribute")||fields=="*"||(!fields && true)}}' tdid="4" ref="attribute"   title="规格属性">规格属性
			 </td>
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"company")||fields=="*"||(!fields && true)}}' tdid="5" ref="company"   title="单位">单位
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"count")||fields=="*"||(!fields && true)}}' tdid="6" ref="count"   title="已补货">已补货
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"matchOut")||fields=="*"||(!fields && true)}}' tdid="7" ref="matchOut"   title="已配出">已配出
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"owe")||fields=="*"||(!fields && true)}}' tdid="8" ref="owe"   title="还欠">还欠
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"commodity")||fields=="*"||(!fields && true)}}' tdid="9" ref="commodity"   title="补货商品">补货商品
			 </td>
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"updateTime")||fields=="*"||(!fields && false)}}' tdid="10" ref="updateTime"   title="修改时间">修改时间
			 </td>
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"addTime")||fields=="*"||(!fields && false)}}' tdid="11" ref="addTime"   title="添加时间">添加时间
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"status")||fields=="*"||(!fields && true)}}' tdid="12" ref="status"   title="状态">状态
			 </td>
			<td  width="105"  class="operation" tdid="13" ref="operation">
				&nbsp;
			</td>
		  </tr>
		 </thead>	
		 <tbody>
		 
		  <tr lz:for="{{list}}" id="{{item.id}}" >
		  	<td class="td-checkbox" align="center">
				<input class="check" name="check" type="checkbox" value="{{item.id}}"/>
			</td>
			 
				<td lz:if='{{lz.idin(fields,"id")||fields=="*"||(!fields && true)}}' ref="id" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.id$ || item.id}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"replenish")||fields=="*"||(!fields && true)}}' ref="replenish" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.replenish}}">
					 
					 
					 	<a onclick="window.href('{{basePath}}admin/delivery/replenish.edit.html?key={{item.replenish}}')" href="javascript:void(0);">
					 	{{item.replenish$ || item.replenish}}</a>
				</td>
			 
				<td lz:if='{{lz.idin(fields,"remarks")||fields=="*"||(!fields && true)}}' ref="remarks" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.remarks$ || item.remarks}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"attribute")||fields=="*"||(!fields && true)}}' ref="attribute" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.attribute$ || item.attribute}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"company")||fields=="*"||(!fields && true)}}' ref="company" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.company$ || item.company}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"count")||fields=="*"||(!fields && true)}}' ref="count" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.count$ || item.count}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"matchOut")||fields=="*"||(!fields && true)}}' ref="matchOut" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.matchOut$ || item.matchOut}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"owe")||fields=="*"||(!fields && true)}}' ref="owe" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.owe$ || item.owe}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"commodity")||fields=="*"||(!fields && true)}}' ref="commodity" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.commodity}}">
					 
					 
					 	<a onclick="window.href('{{basePath}}admin/goods/commodity.edit.html?key={{item.commodity}}')" href="javascript:void(0);">
					 	{{item.commodity$ || item.commodity}}</a>
				</td>
			 
				<td lz:if='{{lz.idin(fields,"updateTime")||fields=="*"||(!fields && false)}}' ref="updateTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.updateTime$ || item.updateTime}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"addTime")||fields=="*"||(!fields && false)}}' ref="addTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.addTime$ || item.addTime}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"status")||fields=="*"||(!fields && true)}}' ref="status" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.status$ || item.status}}
				</td>
			<td class="operation {{index%2==0?'odd':'even'}}">
				<a lz:if="{{canEdit}}" onclick='navigate("/admin/delivery/replenishment.edit.html",{edittype:"update",id:"{{item.id}}"},window)' href="javascript:void(0)">修改</a>
				<a lz:if="{{canView}}" class="inc-h" onclick='navigate("/admin/delivery/replenishment.edit.html",{edittype:"detail",id:"{{item.id}}"},window)' href="javascript:void(0);">详情</a>
			</td>
		  </tr>
		 
		 </tbody>
		 		 
	  </table>